﻿<?xml version="1.0" encoding="utf-8" ?>
<TransactionSpecification xmlns="http://tempuri.org/X12ParserSpecification.xsd"  TransactionSetIdentifierCode="810">
  <Segment SegmentId="BIG" Usage="Required" Repeat="1"/>
  <Segment SegmentId="NTE" Repeat="100"/>
  <Segment SegmentId="CUR" Repeat="1"/>
  <Segment SegmentId="REF" Repeat="12"/>
  <Segment SegmentId="YNQ" Repeat="10"/>
  <Segment SegmentId="PER" Repeat="3"/>
<!-- After N1 Loop -->
  <Segment SegmentId="ITD"/>
  <Segment SegmentId="DTM" Repeat="10"/>
  <Segment SegmentId="FOB" Repeat="1"/>
  <Segment SegmentId="PID" Repeat="200"/>
  <Segment SegmentId="MEA" Repeat="40"/>
  <Segment SegmentId="PWK" Repeat="25"/>
  <Segment SegmentId="PKG" Repeat="25"/>
  <Segment SegmentId="L7" Repeat="1"/>
  <Segment SegmentId="BAL"/>
  <Segment SegmentId="INC" Repeat="1"/>
  <Segment SegmentId="PAM"/>
<!-- After IT1 Loop -->
  <Segment SegmentId="TDS" Repeat="1" Trailer="true"/>
  <Segment SegmentId="TXI" Repeat="10" Trailer="true"/>
  <Segment SegmentId="CAD" Repeat="1" Trailer="true"/>
  <Segment SegmentId="AMT" Trailer="true"/>
  
<!-- End of Transaction -->
  <Segment SegmentId="CTT" Repeat="1" Trailer="true"/>
  <Loop LoopId="N1">
    <Name>Party</Name>
    <StartingSegment SegmentId="N1"/>
    <Segment SegmentId="N2" Repeat="2"/>
    <Segment SegmentId="N3" Repeat="2"/>
    <Segment SegmentId="N4" Repeat="1"/>
    <Segment SegmentId="REF" Repeat="12"/>
    <Segment SegmentId="PER" Repeat="3"/>
    <Segment SegmentId="DMG" Repeat="1"/>
  </Loop>
  <Loop LoopId="LM">
    <Name></Name>
    <StartingSegment SegmentId="LM" Repeat="1"/>
    <Segment SegmentId="LQ" Repeat="100"/>
  </Loop>
  <Loop LoopId="N9">
    <Name></Name>
    <StartingSegment SegmentId="N9" Repeat="1"/>
    <Segment SegmentId="MSG" Repeat="10"/>
  </Loop>
  <Loop LoopId="V1">
    <Name></Name>
    <StartingSegment SegmentId="V1" Repeat="1"/>
    <Segment SegmentId="R4"/>
    <Segment SegmentId="DTM"/>
  </Loop>
  <Loop LoopId="FA1">
    <Name></Name>
    <StartingSegment SegmentId="FA1"/>
    <Segment SegmentId="FA2"/>
  </Loop>  
  <Loop LoopId="IT1" Repeat="200000">
    <Name>ITEM</Name>
    <StartingSegment SegmentId="IT1"/>
    <Segment SegmentId="CRC" Repeat="1"/>
    <Segment SegmentId="QTY" Repeat="5"/>
    <Segment SegmentId="CUR" Repeat="1"/>
    <Segment SegmentId="IT3" Repeat="5"/>
    <Segment SegmentId="TXI" Repeat="10"/>
    <Segment SegmentId="CTP" Repeat="25"/>
    <Segment SegmentId="PAM" Repeat="10"/>
    <Segment SegmentId="MEA" Repeat="40"/>
<!-- After PID Loop -->
    <Segment SegmentId="PWK" Repeat="25"/>
    <Segment SegmentId="PKG" Repeat="25"/>
    <Segment SegmentId="PO4" Repeat="1"/>
    <Segment SegmentId="ITD" Repeat="2"/>
    <Segment SegmentId="REF" />
    <Segment SegmentId="YNQ" Repeat="10"/>
    <Segment SegmentId="PER" Repeat="5"/>
    <Segment SegmentId="SDQ" Repeat="500" />
    <Segment SegmentId="DTM"/>
    <Segment SegmentId="CAD"/>
    <Segment SegmentId="L7"/>
    <Segment SegmentId="SR"/>
    <Loop LoopId="PID">
      <Name>PRODUCT/ITEM</Name>
      <StartingSegment SegmentId="PID"/>
      <Segment SegmentId="MEA" Repeat="10"/>
    </Loop>
    <Loop LoopId="SAC">
      <Name>Service, Promotion, Allowance, or Charge Information</Name>
      <StartingSegment SegmentId="SAC"/>
      <Segment SegmentId="TXI"/>
    </Loop>
    <Loop LoopId="SLN">
      <Name></Name>
      <StartingSegment SegmentId="SLN"/>
      <Segment SegmentId="DTM"/>
      <Segment SegmentId="REF"/>
      <Segment SegmentId="PID" Repeat="1000"/>
      <Segment SegmentId="SAC" Repeat="25"/>
      <Segment SegmentId="TC2" Repeat="2"/>
      <Segment SegmentId="TXI" Repeat="10"/>
    </Loop>
    <Loop LoopId="N1">
      <Name>Cost Center</Name>
      <StartingSegment SegmentId="N1" />
      <Segment SegmentId="N2" Repeat="2"/>
      <Segment SegmentId="N3" Repeat="2"/>
      <Segment SegmentId="N4"/>
      <Segment SegmentId="REF" Repeat="12"/>
      <Segment SegmentId="PER" Repeat="3"/>
      <Segment SegmentId="DMG" Repeat="1"/>
    </Loop>
    <Loop LoopId="LM">
      <Name></Name>
      <StartingSegment SegmentId="LM"/>
      <Segment SegmentId="LQ" Repeat="100"/>
    </Loop>
    <Loop LoopId="V1">
      <Name></Name>
      <StartingSegment SegmentId="V1"/>
      <Segment SegmentId="R4"/>
      <Segment SegmentId="DTM"/>
    </Loop>
    <Loop LoopId="FA1">
      <Name></Name>
      <StartingSegment SegmentId="FA1"/>
      <Segment SegmentId="FA2"/>
    </Loop>
  </Loop>
  <Loop LoopId="SAC">
    <Name></Name>
    <StartingSegment SegmentId="SAC"/>
    <Segment SegmentId="TXI" Repeat="10"/>
  </Loop>
  <Loop LoopId="ISS">
    <Name></Name>
    <StartingSegment SegmentId="ISS"/>
    <Segment SegmentId="PID" Repeat="1"/>
  </Loop>
</TransactionSpecification>
